package com.morven.workpiece.craft.domain;

import com.morven.workpiece.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.morven.workpiece.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 工序工价系数对象 craft_proce_wage_coeffic
 * 
 * @author Morven
 * @date 2021-12-20
 */
public class CraftProceWageCoeffic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键增长 */
    private Long id;

    /** 工序类别 */
    //@Excel(name = "工序类别")
    private String proceCategoryTypeName;

    /** 工序类别ID */
    //@Excel(name = "工序类别ID")
    private Long proceCategoryTypeId;

    /** 工价系数 */
    //@Excel(name = "工价系数")
    private BigDecimal wageCoeffic;

    /** 单位工价 */
    //@Excel(name = "单位工价")
    private BigDecimal unitOfWages;

    /** 粗加工系数 */
    //@Excel(name = "粗加工系数")
    private BigDecimal roughingCoeffic;

    /** 粗加工单价 */
    //@Excel(name = "粗加工单价")
    private BigDecimal roughingPrice;

    /** 半精加工系数 */
    //@Excel(name = "半精加工系数")
    private BigDecimal semifinishingCoeffic;

    /** 半精加工单价 */
    //@Excel(name = "半精加工单价")
    private BigDecimal semifinishingPrice;

    /** 精加工系数 */
    //@Excel(name = "精加工系数")
    private BigDecimal finishingCoeffic;

    /** 精加工单价 */
    //@Excel(name = "精加工单价")
    private BigDecimal finishingPrice;

    /** 高精加工系数 */
    //@Excel(name = "高精加工系数")
    private BigDecimal highFinishingCoeffic;

    /** 高精加工单价 */
    //@Excel(name = "高精加工单价")
    private BigDecimal highFinishingPrice;

    /** 创建人ID */
    //@Excel(name = "创建人ID")
    private Long createUserId;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    //@Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date opTime;

    /** 操作人ID */
    //@Excel(name = "操作人ID")
    private Long opUserId;

    /** 排序 */
    //@Excel(name = "排序")
    private Integer orderBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProceCategoryTypeName(String proceCategoryTypeName) 
    {
        this.proceCategoryTypeName = proceCategoryTypeName;
    }

    public String getProceCategoryTypeName() 
    {
        return proceCategoryTypeName;
    }
    public void setProceCategoryTypeId(Long proceCategoryTypeId) 
    {
        this.proceCategoryTypeId = proceCategoryTypeId;
    }

    public Long getProceCategoryTypeId() 
    {
        return proceCategoryTypeId;
    }
    public void setWageCoeffic(BigDecimal wageCoeffic) 
    {
        this.wageCoeffic = wageCoeffic;
    }

    public BigDecimal getWageCoeffic() 
    {
        return wageCoeffic;
    }
    public void setUnitOfWages(BigDecimal unitOfWages) 
    {
        this.unitOfWages = unitOfWages;
    }

    public BigDecimal getUnitOfWages() 
    {
        return unitOfWages;
    }
    public void setRoughingCoeffic(BigDecimal roughingCoeffic) 
    {
        this.roughingCoeffic = roughingCoeffic;
    }

    public BigDecimal getRoughingCoeffic() 
    {
        return roughingCoeffic;
    }
    public void setRoughingPrice(BigDecimal roughingPrice) 
    {
        this.roughingPrice = roughingPrice;
    }

    public BigDecimal getRoughingPrice() 
    {
        return roughingPrice;
    }
    public void setSemifinishingCoeffic(BigDecimal semifinishingCoeffic) 
    {
        this.semifinishingCoeffic = semifinishingCoeffic;
    }

    public BigDecimal getSemifinishingCoeffic() 
    {
        return semifinishingCoeffic;
    }
    public void setSemifinishingPrice(BigDecimal semifinishingPrice) 
    {
        this.semifinishingPrice = semifinishingPrice;
    }

    public BigDecimal getSemifinishingPrice() 
    {
        return semifinishingPrice;
    }
    public void setFinishingCoeffic(BigDecimal finishingCoeffic) 
    {
        this.finishingCoeffic = finishingCoeffic;
    }

    public BigDecimal getFinishingCoeffic() 
    {
        return finishingCoeffic;
    }
    public void setFinishingPrice(BigDecimal finishingPrice) 
    {
        this.finishingPrice = finishingPrice;
    }

    public BigDecimal getFinishingPrice() 
    {
        return finishingPrice;
    }
    public void setHighFinishingCoeffic(BigDecimal highFinishingCoeffic) 
    {
        this.highFinishingCoeffic = highFinishingCoeffic;
    }

    public BigDecimal getHighFinishingCoeffic() 
    {
        return highFinishingCoeffic;
    }
    public void setHighFinishingPrice(BigDecimal highFinishingPrice) 
    {
        this.highFinishingPrice = highFinishingPrice;
    }

    public BigDecimal getHighFinishingPrice() 
    {
        return highFinishingPrice;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setOpTime(Date opTime) 
    {
        this.opTime = opTime;
    }

    public Date getOpTime() 
    {
        return opTime;
    }
    public void setOpUserId(Long opUserId) 
    {
        this.opUserId = opUserId;
    }

    public Long getOpUserId() 
    {
        return opUserId;
    }
    public void setOrderBy(Integer orderBy) 
    {
        this.orderBy = orderBy;
    }

    public Integer getOrderBy() 
    {
        return orderBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("proceCategoryTypeName", getProceCategoryTypeName())
            .append("proceCategoryTypeId", getProceCategoryTypeId())
            .append("wageCoeffic", getWageCoeffic())
            .append("unitOfWages", getUnitOfWages())
            .append("roughingCoeffic", getRoughingCoeffic())
            .append("roughingPrice", getRoughingPrice())
            .append("semifinishingCoeffic", getSemifinishingCoeffic())
            .append("semifinishingPrice", getSemifinishingPrice())
            .append("finishingCoeffic", getFinishingCoeffic())
            .append("finishingPrice", getFinishingPrice())
            .append("highFinishingCoeffic", getHighFinishingCoeffic())
            .append("highFinishingPrice", getHighFinishingPrice())
            .append("createTime", getCreateTime())
            .append("createUserId", getCreateUserId())
            .append("opTime", getOpTime())
            .append("opUserId", getOpUserId())
            .append("orderBy", getOrderBy())
            .toString();
    }
}
